#pragma once

class DataSource;

class FileDesc
{
public:
	FileDesc(const std::string& path, DataSource* owner);
	~FileDesc();

	const std::string&	GetExtension() const;
	const std::string&	GetDir() const;
	const std::string&	GetName() const;
	const std::string&	GetFullname() const;
	const std::string&	GetPath() const;
	DataSource*			GetOwner();
private:
	std::string m_ext;
	std::string m_dir;
	std::string m_name;
	std::string m_fullname;
	std::string m_path;

	DataSource* m_datasource;
};

